
package org.iocworkflow;

import java.io.Serializable;


/**
 * Class:ProcessContext
 * Creation Date: Mar 7, 2005
 * CVS ID $Id: ProcessContext.java,v 1.1 2006/07/09 16:00:00 king Exp $
 * 
 * Class Descriptoin goes here
 * 
 *  @author sdodge
 *  @since $Date: 2006/07/09 16:00:00 $
 */
public interface ProcessContext extends Serializable {
    
    
    /**
     * Activly informs the workflow process to stop processing
     * no further activities will be exeecuted 
     * @return
     */
    public boolean stopProcess();
    
    /**
     * Provide seed information to this ProcessContext, usually 
     * provided at time of workflow kickoff by the containing 
     * workflow processor.
     * 
     * @param seedObject - initial seed data for the workflow
     */
    public void setSeedData(Object seedObject);

}
